package wiki.generic.concreteutilities;

import java.util.StringTokenizer;

import wiki.generic.utilities.FileNameKeeper;


/**
 * 
 * @author <p><strong>JwTeam</strong></p> 
 *
 */
public class ConcreteFileNameKeeper implements FileNameKeeper{

	@Override
	public String getFileName(String path) {
		StringTokenizer tok=new StringTokenizer(path,"/");
		String s;
		s=tok.nextToken();
		while(tok.hasMoreTokens()){
			s=tok.nextToken();
		}
		return s;
	}
}